package com.woniuxy.remote;

import com.woniuxy.utils.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 *
 */
@FeignClient("auth")
public interface RemoteAuthService {
    @PostMapping(value ="auth/check")
    ResultVO check(@RequestBody String token);
}
